package com.imooc.pan.server.common.mq.event.file;

import com.imooc.pan.server.modules.file.entity.RPanUserFile;
import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * 文件物理删除的事件实体
 */
@Data
public class FilePhysicalDeleteEvent implements Serializable {

    private static final long serialVersionUID = 2367558587697903660L;

    private List<RPanUserFile> allRecords;

    public FilePhysicalDeleteEvent(List<RPanUserFile> allRecords) {
        this.allRecords = allRecords;
    }
}
